package com.homedo.odin.solution.contract.mng;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "栏目标签")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class ColumnTagPageRequestBean {

    @ApiModelProperty(value = "是否使用 0：否 1：是")
    private Integer isUse;

    @ApiModelProperty(value = "排序类型  降序：desc  升序：asc")
    private String sortType;


    @ApiModelProperty(value = "当前页码", required = true)
    @NotNull(message = "当前页码非法")
    @Min(value = 0, message = "当前页码非法")
    private Integer pageNum;


    @ApiModelProperty(value = "每页记录数", required = true)
    @NotNull(message = "每页记录数非法")
    @Min(value = 0, message = "每页记录数非法")
    private Integer pageSize;
}
